import java.util.Random;

public class MathOps {
    public static void main(String[] args) {
        Random rand = new Random(30);

        int i, j, k;
        j = rand.nextInt(100) + 1;
        System.out.println("j = " + j);
        k = rand.nextInt(100) + 1;
        System.out.println("k = " + k);

        i = j + k;
        System.out.println("i = j + k = " + i);
        i = j - k;
        System.out.println("i = j - k = " + i);
        i = j * k;
        System.out.println("i = j * k = " + i);
        i = j / k;
        System.out.println("i = j / k = " + i);
        i = j % k;
        System.out.println("i = j % k = " + i);


        float u, v, w;
        v = rand.nextFloat();
        System.out.println("v = " + v);
        w = rand.nextFloat();
        System.out.println("w = " + w);
        u = v + w;
        System.out.println("u = v + w = " + u);
        u = v - w;
        System.out.println("u = v - w = " + u);
        u = v * w;
        System.out.println("u = v * w = " + u);
        u = v / w;
        System.out.println("u = v / w = " + u);
        u += v;
        System.out.println("u += v = " + u);
        u -= v;
        System.out.println("u -= v = " + u);
        u *= v;
        System.out.println("u *= v = " + u);
        u /= v;
        System.out.println("u /= v = " + u);
    }
}
